home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 2
/
The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO
/
prog
/
cfuncs.zip
/
WEDIT.DOC
< prev
next >
Wrap
Text File
|
1991-02-27
|
996b
|
20 lines
/*----------------------------------------------------------------*/
/*---------------------------wedit--------------------------------*/
/* WINDOW EDIT */
/* */
/*DESCRIPTION: Creates a window for data entry with an option to */
/* check each line with CheckNum. Writes the data to a file */
/* */
/*INPUT: */
/* filename - name for output file */
/* width - width of the window */
/* length - length of the window */
/* fcheck - a function that performs a check on the */
/* entries. Returns 1 for a pass, 0 for fail. */
/* Passing NULL means no check will be performed. */
/*USES: Frame, strspc, OnCursor, OffCursor */
/*----------------------------------------------------------------*/
wedit( char *filename, int width, int length,
int (*fcheck) (const char *))